--- a/sysdeputil.c
+++ b/sysdeputil.c
@@ -165,6 +165,9 @@
 #endif
 /* END config */
 
+#undef VSF_SYSDEP_HAVE_CAPABILITIES
+#undef VSF_SYSDEP_HAVE_LIBCAP
+
 /* PAM support - we include our own dummy version if the system lacks this */
 #include <security/pam_appl.h>
 
